<div class="posts">
	<?php foreach ($posts as $post): ?>
		<div class="post">
			<h2 class="title"><?php echo $post->title ?></h2>
			<p class="meta">Published on <?php echo date('m/d/Y', strtotime($post->date_created)) ?> by <?php echo $post->author ?></p>
			<p class="content"><?php echo $post->content ?></p>
		</div>
	<?php endforeach ?>
</div>